package com.ytjj.qmyx.mall.mapper;

import com.ytjj.qmyx.mall.model.ShareProduct;
import com.ytjj.qmyx.mall.model.ShareProductExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface ShareProductMapper {
    long countByExample(ShareProductExample example);

    int deleteByExample(ShareProductExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(ShareProduct record);

    int insertSelective(ShareProduct record);

    List<ShareProduct> selectByExample(ShareProductExample example);

    ShareProduct selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") ShareProduct record, @Param("example") ShareProductExample example);

    int updateByExample(@Param("record") ShareProduct record, @Param("example") ShareProductExample example);

    int updateByPrimaryKeySelective(ShareProduct record);

    int updateByPrimaryKey(ShareProduct record);
}